package org.jadestudio.home.service;

import java.util.List;

import org.jadestudio.home.dao.LaboratoryDao;;

public class LaboratoryService {
	private LaboratoryDao laboratoryDao; 
	
	public LaboratoryDao getLaboratoryDao() {
		return laboratoryDao;
	}

	public void setLaboratoryDao(LaboratoryDao laboratoryDao) {
		this.laboratoryDao = laboratoryDao;
	}
	/**
	 * 获取首页游戏列表
	 * @param 
	 */
	public List getLaboratoryList(){
		try {
			List<java.util.Map> gameList = laboratoryDao.getLaboratoryList();
			return gameList;
			
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}
	}
}
